package com.nvt.core.services;

import com.nvt.core.exception.NvtBusinessException;

public interface IHibernateService {

	/**
	 * @param entityName
	 * @param values
	 * @throws NvtBusinessException
	 */
	public void executeUpdate(Object objectDomain) throws NvtBusinessException;

	/**
	 * @param entityName
	 * @param values
	 * @return
	 * @throws NvtBusinessException
	 */
	public Object executeInsert(Object objectDomain)
			throws NvtBusinessException;

}
